#define _CRT_SECURE_NO_WARNINGS
#include"Binary tree.h"
int main()
{
	char a[] = "ABD##E#H##CF##G##";
	int index = 0;
	BTNode*tmp=BinaryTreeCreate(a,17,&index);
	BinaryTreePrevOrder(tmp);
	printf("\n");
	BinaryTreeInOrder(tmp);
	printf("\n");
	BinaryTreePostOrder(tmp);
	printf("\n");
	BinaryTreeLevelOrder(tmp);

	printf("\n%d ", BinaryTreeSize(tmp));
	printf("\n%d ", BinaryTreeLeafSize(tmp));
	printf("\n%d ", BinaryTreeLevelKSize(tmp,3));
	char* num = BinaryTreeFind(tmp, 'C');
	printf("\n%c ", *num);
	printf("\n%d ", BinaryTreeComplete(tmp));
	return 0;
}